body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
}

.chat-container {
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

#chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
}

.user-message {
    background-color: #e3f2fd;
    text-align: right;
}

.bot-message {
    background-color: #f5f5f5;
}

.input-area {
    display: flex;
    gap: 10px;
}

#question-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#send-btn {
    padding: 10px 20px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#send-btn:hover {
    background-color: #0b7dda;
}

.feedback-area {
    text-align: center;
}

.feedback-btn {
    padding: 8px 15px;
    margin: 0 5px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.feedback-btn:hover {
    opacity: 0.8;
}

.feedback-btn[data-score="1"] { background-color: #f44336; color: white; }
.feedback-btn[data-score="2"] { background-color: #ff9800; color: white; }
.feedback-btn[data-score="3"] { background-color: #ffc107; color: black; }
.feedback-btn[data-score="4"] { background-color: #8bc34a; color: white; }
.feedback-btn[data-score="5"] { background-color: #4caf50; color: white; }

.score-display {
    font-weight: bold;
    color: #2196f3;
}